package com.tsingteng.cosfun.ui.login;


import com.tsingteng.cosfun.bean.ReportBean;
import com.tsingteng.cosfun.bean.UserBean;
import com.tsingteng.cosfun.mvp.view.IView;


/**
 * 描述 :
 * 创建人: 肖利.
 * 时间:2018/8/8
 * qq(872179966)
 */
public interface LogonContract {

    interface ILogonPresenter {


        void login();
        void verifyCode();
        void logonQQ(String open_id, String thirdparty_token,String login_type,String headpic,String nickname);
        //登录上报
        void loginReport();
    }


    interface ILogonView extends IView {


        String getUserName();

        String getVerifyCode();

        /**
         * 登录
         */
        void showLogonResult(UserBean data);

        /**
         * 验证码
         * @param data
         */
        void showVerifyCodeResult(UserBean data);



        void showQQLogonResult(UserBean userBean);

        void showReportData(ReportBean status);
    }
}
